package com.example.datastruct;

public class AnimalSmall extends Animal {

    @Override
    public void eat() {
        System.out.println("eat");
    }

 }